package com.huaru.formboot.form.entity.Dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 表单模板表
 * </p>
 *
 * @author wz
 * @since 2021-04-15
 */
@ApiModel(description = "表单实体")
public class TableTemplate implements Serializable {


    private static final long serialVersionUID = 748688421916160149L;
    /**
     * 表单id
     */
    @ApiModelProperty(value = "表单id",example = "123")
    private String tableId;

    /**
     * 表单名称
     */
    @ApiModelProperty(value = "表单名称",example = "表单名称")
    private String tableName;

    /**
     * 表单父id
     */
    @ApiModelProperty(value = "表单父id",example = "456")
    private String tableParentId;

    /**
     * 表单排序
     */
    @ApiModelProperty(value = "表单排序",example = "1")
    private String tableSort;
    /**
     * 表单json
     */
    @ApiModelProperty(value = "表单json",example = "{}")
    private String tableJson;

    /**
     * 创建时间
     */

    private LocalDateTime createTime;

    /**
     * 修改时间
     */

    private LocalDateTime updateTime;

    public TableTemplate() {
    }

    public TableTemplate(String tableId, String tableName, String tableParentId, String tableSort, LocalDateTime createTime, LocalDateTime updateTime) {
        this.tableId = tableId;
        this.tableName = tableName;
        this.tableParentId = tableParentId;
        this.tableSort = tableSort;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableParentId() {
        return tableParentId;
    }

    public void setTableParentId(String tableParentId) {
        this.tableParentId = tableParentId;
    }

    public String getTableSort() {
        return tableSort;
    }

    public void setTableSort(String tableSort) {
        this.tableSort = tableSort;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getTableJson() {
        return tableJson;
    }

    public void setTableJson(String tableJson) {
        this.tableJson = tableJson;
    }
}
